import as from '@/service/axios';
import qs from 'qs';

export default {
  class_add (red) {
    return as.post('image/class/add', {params: red});
  },
  class_list(red) {
    return as.get('image/class/list',{params:red});
  },
  class_edit(red) {
    return as.post('image/class/edit',{params:red});
  },
  class_delete(red){
    return as.post('image/class/delete',{params:red})
  }
};